; Experiment configuration (taken from test/damp/ekeko/snippets/experiments/experiments.clj)

:max-generations 150                ; Maximum number of generations
:match-timeout 360000               ; Template matching times out after this many milliseconds
:fitness-weights [12/20 8/20 0/20]  ; Weight of the F1-score, the partial score (and the total number of directives, no longer used)
:fitness-threshold 0.95             ; A solution is found if the fitness is greater than this
:population-size 30                 ; Population size of each generation
:quick-matching false               ; Match only against the desired results (speeds up matching, but may not detect all false positives)
:partial-matching true              ; Partial score is computed if enabled
:selection-weight 8/30              ; Fraction of the population that is selected via tournament selection
:mutation-weight 22/30              ; Faction of the population that are mutants
:crossover-weight 0/30              ; Fraction of the population that is the result of a crossover operation
:tournament-rounds 5                ; How many rounds are performed in tournament selection
:mutation-operators                 ; Which mutation operators are available
   (filter 
     (fn [op] 
       (some #{(operatorsrep/operator-id op)} 
             ["replace-by-variable"
              "replace-by-wildcard"
              "add-directive-equals" 
              "add-directive-invokes" 
              "add-directive-constructs" 
              "add-directive-overrides" 
              "add-directive-refersto"  
              "add-directive-type" 
              "add-directive-subtype*"
              "relax-scope-to-child*"  
              "isolate-expr-in-method"
              "consider-set|lst"
              "generalize-references" 
              "generalize-types" 
              "generalize-invocations" 
              "generalize-constructorinvocations"
              ]))
     (operatorsrep/registered-operators))